
import { createApp } from 'vue'
import pinia from './stores'
import App from './App.vue'
import router from './router'
// svg需要配置代码
import 'virtual:svg-icons-register'
//引入ElementPlus
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css'
//@ts-ignore忽略当前文件ts类型的检测否则有红色提示(打包会失败)
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
//基础样式
import "@/assets/css/base.scss";

//导入自定义图标
const app = createApp(App)
app.use(pinia)
app.use(router)
app.use(ElementPlus, {
    locale: zhCn
})
app.mount('#app')

